import request from '@/utils/request'

// 查询列表
export function listPurchasegas(query) {
  return request({
    url: '/system/purchasegas/list',
    method: 'get',
    params: query
  })
}

// 新增
export function addPurchasegas(data) {
  return request({
    url: '/system/purchasegas',
    method: 'post',
    data: data
  })
}

// 修改
export function updatePurchasegas(data) {
  return request({
    url: '/system/purchasegas',
    method: 'put',
    data: data
  })
}
